package com.game.service.app;

public class PostJson {
    private String pid;//订单唯一id
    private int gameid;//游戏id
    private int uid;//用户id
    private String jsonDesc;//Json说明
    private int postResult;//0表示发送失败,1表示重新发送成功
    private long addCurrentTimeMillis;//添加的时间,二次发送时需要判断
    private String postJson;//等待发送的数据
    private String postUrl;//发送API地址


    public String getPostUrl() {
        return postUrl;
    }

    public void setPostUrl(String postUrl) {
        this.postUrl = postUrl;
    }

    public String getPostJson() {
        return postJson;
    }

    public void setPostJson(String postJson) {
        this.postJson = postJson;
    }

    public long getAddCurrentTimeMillis() {
        return addCurrentTimeMillis;
    }

    public void setAddCurrentTimeMillis(long addCurrentTimeMillis) {
        this.addCurrentTimeMillis = addCurrentTimeMillis;
    }



    public String getJsonDesc() {
        return jsonDesc;
    }

    public void setJsonDesc(String jsonDesc) {
        this.jsonDesc = jsonDesc;
    }

    public String getPid() {
        return pid;
    }

    public void setPid(String pid) {
        this.pid = pid;
    }


    @Override
    public String toString() {
        return "PostJson{" +
                "pid=" + pid +
                ", jsonDesc='" + jsonDesc + '\'' +
                ", postResult=" + postResult +
                ", addCurrentTimeMillis=" + addCurrentTimeMillis +
                ", postJson='" + postJson + '\'' +
                ", postUrl='" + postUrl + '\'' +
                '}';
    }

    public int getPostResult() {
        return postResult;
    }

    public void setPostResult(int postResult) {
        this.postResult = postResult;
    }

    public int getGameid() {
        return gameid;
    }

    public void setGameid(int gameid) {
        this.gameid = gameid;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }
}
